package org.mobai.model;

import lombok.Data;
import org.mobai.anno.Sensitive;
import org.mobai.anno.SensitiveStrategy;

import java.io.Serializable;

@Data
public class User implements Serializable {
    private static final long serialVersionUID = -5514139686858156155L;

    private Integer id;

    private Integer userId;

    @Sensitive(strategy = SensitiveStrategy.USERNAME)
    private String name;

    private Integer age;

    @Sensitive(strategy = SensitiveStrategy.ID_CARD)
    private String idCard;
}
